package com.lzj.demo.design.template;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class CompanyBServiceImpl extends AbstractMerchantService{
    public CompanyBServiceImpl(String companyName) {
        super(companyName);
        this.companyName = companyName;
    }

    @Override
    void queryMerchantInfo() {
        log.info("查询{}公司商户信息",companyName);
    }

    @Override
    void signature() {
        log.info("{}公司加签",companyName);
    }

    @Override
    void httpRequest() {
        log.info("{}公司发送http请求",companyName);
    }

    @Override
    void verifySignature() {
        log.info("{}公司验签",companyName);
    }

    @Override
    boolean isRequestByProxy() {
        return true;
    }
}
